﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace llm_net.Services.Abstractions
{
    public interface ITongyiApiService
    {
        /// <summary>
        /// 获取文本的向量嵌入表示
        /// </summary>
        /// <param name="text">输入文本</param>
        /// <returns>文本的向量表示</returns>
        Task<float[]> GetTextEmbeddingAsync(string text);
    }
}
